﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ArduinoSketch
{
    public partial class FormLoading : Form
    {
        public FormLoading()
        {
            InitializeComponent();
        }

        private static FormLoading _formLoading;

        public static FormLoading ShowLoadingDialog()
        {
            _formLoading = new FormLoading();
            _formLoading.Show();
            Application.DoEvents();
            return _formLoading;
        }

        public static void LoadingSleep()
        {
            System.Threading.Thread.Sleep(2000);
        }
    }
}
